package flc.ast.adapter;

import android.view.View;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder;

import flc.ast.R;
import flc.ast.databinding.ItemRvContentStyleBinding;
import stark.common.basic.adapter.BaseDBRVAdapter;

public class ContentAdapter extends BaseDBRVAdapter<String, ItemRvContentStyleBinding> {
    public String selContent;

    public ContentAdapter() {
        super(R.layout.item_rv_content_style, 0);
    }

    @Override
    protected void convert(@NonNull BaseDataBindingHolder<ItemRvContentStyleBinding> holder, String item) {
        super.convert(holder, item);
        ItemRvContentStyleBinding binding = holder.getDataBinding();
        binding.tvContent.setText(item);
    }
}
